<!DOCTYPE html>
<html>
<head>

<meta data-th-fragment="meta-charset" charset="utf-8">
<meta data-th-fragment="meta-viewport" name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link data-th-fragment="favicon" href="/favicon.ico" rel="shortcut icon"/>


<link data-th-fragment="bootstrap-css"   rel="stylesheet" type="text/css" data-th-href="@{/vendor/bootstrap-4.1.3/css/bootstrap.min.css}"/>
<link data-th-fragment="normalize-css"   rel="stylesheet" type="text/css" media="all" data-th-href="@{/vendor/normalize-8.0.0.css}"/>
<link data-th-fragment="highlightjs-css" rel="stylesheet" type="text/css" data-th-href="@{/vendor/highlightjs-9.12.0/dracula.min.css}"/>
<link data-th-fragment="common-css"      rel="stylesheet" type="text/css" data-th-href="@{/resources/common.css}"/>
<link data-th-fragment="katex-css"       rel="stylesheet" type="text/css" data-th-href="@{/vendor/KaTeX/0.9.0/katex.min.css}"/>

</head>
<body>


<nav data-th-fragment="header" class="navbar navbar-dark bg-primary">
	<div class="container" style="margin: 0px auto;">
		<a class="navbar-brand" data-th-href="@{/}">首页</a>

		<a class="nav-link" data-th-if="${session.userInfo != null}" data-th-href="@{/article/new}"><b>+</b></a>
		<a class="nav-link" data-th-if="${session.userInfo != null}" data-th-text="${session.userInfo.username}"></a>
		<a class="nav-link" data-th-if="${session.userInfo != null}" data-th-href="@{/user/logout}">退出登录</a>
	</div>
</nav>


<footer data-th-fragment="footer" class="footer fixed-bottom">
	<div class="container">
		<span class="text-muted">Copyright ©</span>
	</div>
</footer>


</body>
</html>